var url = urls();
var params = oneValues();
var id = params.id.split("_")[1];

//详情
$.ajax({
    type: "post",
    url: url + "/api/lawyer/lawyer_details",
    data: {
        id: id,
    },
    dataType: "json",
    success: function (res) {
        lawyer_details(res)
    }
});

function lawyer_details(res) {
    var arr = res.data;
    var describe_four = arr.describe_four || "";
    var a = '<p class="layer_synopsis">' + describe_four +
        '</p>';
    var b = arr.introduce;
    $(".layer_img").attr("src",url+"/upload/"+arr.portrait);
    $(".layer_name").html(arr.user_name);
    $(".layer_synopsis_box").html(a);
    $(".lawyer_details_center").html(b);
}